<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        选中框：
             <input type="checkbox" v-model="msg"  value="java"/> JAVA
             <input type="checkbox"  v-model="msg" value="html"/> html
             <input type="checkbox" v-model="msg"  value="php"/> php
             <br>
             {{msg.join(',')}}
    </div>
    
    <script src="./node_modules/vue/dist/vue.js"/>
    <script>
      let vm= new Vue({
           el:"#app",
           data:{
               msg:[]
           } 
        });
    </script>
</body>
</html>